#pragma once
#include <stdio.h>	
#include <stdlib.h>
#include <assert.h>

typedef int SLDataType;

typedef struct SeqList
{
	SLDataType* arr;
	int size;
	int capacity;
}SL;

void SeqListInit(SL* psl);

void SeqListPrint(SL* psl);

void SeqListPushBack(SL* psl, int val);

void SeqListPushFront(SL* psl, int val);

void SeqListPopBack(SL* psl);

void SeqListPopFront(SL* psl);

int SeqListFind(SL* psl, int val);

void SeqListModify(SL* psl, int pos, int val);

void SeqListInsert(SL* psl, int pos, int val);

void SeqListErase(SL* psl, int pos);

void SeqListDestory(SL* psl);